package org.lanqiao.tjut.zuoye;

import java.util.Scanner;

public class runnian {

	public static void main(String[] args) {
		int year=0;
		try{
			Scanner input=new Scanner(System.in);
			System.out.println("请输入一个年份:");
			year=input.nextInt();
			if(year%400==0||(year%4==0&&year%100!=0))
			{
			System.out.println(year+"是闰年");
		}
			else
			{
				System.out.println(year+"是平年");
			}
		}catch(Exception e){
			System.out.println("请输入整数！");
		}

	}

}
